package com.tarena.lbs.activity.enums;


import
        com.tarena.lbs.base.protocol.enums.ErrorCodeSupport;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;

@Getter
@AllArgsConstructor
@NoArgsConstructor
public enum ActivityStatusEnum implements ErrorCodeSupport {

    ENABLE(1, "启用/进行中"),
    DISABLE(0, "禁用/未开始"),
    DELETED(2,"删除/已过期"),
    NOT_EXITS(3,"活动不存在"),
    PURVIEW_NOT_ENOUGH(4,"权限不足"),
    USER_NOT_LOGIN(5,"用户未登录")
    ;


    private Integer code;
    private String message;
    @Override
    public String getCode() {
        return code.toString();
    }
}

